package com.bolingcavalry.crm.message.service;/*
 * @Auther:Sadie
 * @Date:2025/8/1
 * @Description:
 * @VERSON:1.8
 */

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.base.PageResult;
import com.base.ResponseResult;
import com.dto.MessageCreateDTO;
import com.entity.message.Message;
import com.vo.MessageVO;
import org.springframework.stereotype.Service;

public interface MessageService {
    Message createMessage(MessageCreateDTO dto);

    IPage<MessageVO> getMessageListByPage(Integer pageNum, Integer pageSize, String status, String content, String messageType);

    ResponseResult updateStatus(MessageCreateDTO dto);

    ResponseResult<MessageVO> getMessageById(Long id);
}
